I had a dream about a friend that had recently passed away but it was weird and different. The person I met wasn't the friend that died but looked exactly like him. He also had a different personality than my friend. I told him I know someone that looks exactly like you. Showed him a picture and then I woke up.
Dreams about deceased friends or loved ones are usually a reflection of our own emotional and psychological processing of grief. Your dream may be a manifestation of your subconscious mind trying to come to terms with your friend's passing. The fact that the person in your dream looked exactly like your friend but had a different personality could suggest that you are trying to separate the identity of your friend's physical appearance from his or her personality traits.
The act of showing the person a picture of your deceased friend indicates that you are trying to make sense of your emotions and find a way to reconcile this loss. It could also suggest that you are seeking closure or trying to understand why your friend had to leave.
Overall, your dream may be a reflection of your mind's attempt to process your loss and come to terms with the reality of the situation.